﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rodunu.Business.Models;

namespace Rodunu.Clients.WPF
{
    public static class TypesHelper
    {
        public static IList<BindObject> GetVideoCodes()
        {
            IList<BindObject> codecs = new List<BindObject>();
            codecs.Add(new BindObject(0, "N/A"));
            codecs.Add(new BindObject(1, "MPEG-1"));
            codecs.Add(new BindObject(2, "MPEG-2"));
            codecs.Add(new BindObject(3, "XviD"));
            codecs.Add(new BindObject(4, "DivX"));
            codecs.Add(new BindObject(5, "H.264"));
            codecs.Add(new BindObject(6, "Real Video"));
            codecs.Add(new BindObject(7, "Quick Time"));
            codecs.Add(new BindObject(8, "Windows Media Video"));
            return codecs;
        }

        public static IList<BindObject> GetMedium()
        {
            IList<BindObject> codecs = new List<BindObject>();
            codecs.Add(new BindObject(0, "N/A"));
            codecs.Add(new BindObject(1, "DVD"));
            codecs.Add(new BindObject(2, "DVD-R"));
            codecs.Add(new BindObject(3, "DVD-RW"));
            codecs.Add(new BindObject(4, "DVD+R"));
            codecs.Add(new BindObject(5, "DVD+RW"));
            codecs.Add(new BindObject(6, "DVD-RAM"));
            codecs.Add(new BindObject(7, "CD"));
            codecs.Add(new BindObject(8, "CD-RW"));
            codecs.Add(new BindObject(9, "VCD"));
            codecs.Add(new BindObject(10, "SVCD"));
            codecs.Add(new BindObject(11, "VHS"));
            codecs.Add(new BindObject(12, "BETACAM"));
            codecs.Add(new BindObject(13, "Laser Disc"));
            codecs.Add(new BindObject(14, "Blu-Ray"));
            codecs.Add(new BindObject(15, "HD-DVD"));
            return codecs;
        }

        public static IList<BindObject> GetCondition()
        {
            IList<BindObject> codecs = new List<BindObject>();
            codecs.Add(new BindObject(0, "N/A"));
            codecs.Add(new BindObject(1, "Damaged"));
            codecs.Add(new BindObject(2, "Poor"));
            codecs.Add(new BindObject(3, "Fair"));
            codecs.Add(new BindObject(4, "Good"));
            codecs.Add(new BindObject(5, "Excellent"));
            return codecs;
        }

        public static IList<BindObject> GetRegion()
        {
            IList<BindObject> codecs = new List<BindObject>();
            codecs.Add(new BindObject(0, "N/A"));
            codecs.Add(new BindObject(1, "Region 0 (No Region Coding)"));
            codecs.Add(new BindObject(2, "Region 1 (United States of America, Canada)"));
            codecs.Add(new BindObject(3, "Region 2 (Europe, including France, Greece, Turkey, Egypt, Arabia, Japan and South Africa)"));
            codecs.Add(new BindObject(4, "Region 3 (Korea, Thailand, Vietnam, Borneo and Indonesia"));
            codecs.Add(new BindObject(5, "Region 4 (Australia and New Zealand, Mexico, the Caribbean and South America)"));
            codecs.Add(new BindObject(6, "Region 5 (India, Africa, Russia and former USSR countries)"));
            codecs.Add(new BindObject(7, "Region 6 (Popular Republic of China)"));
            codecs.Add(new BindObject(8, "Region 7 (Reserved for Unspecified Special Use)"));
            codecs.Add(new BindObject(9, "Region 8 (Airlines/Cruise Ships)"));
            return codecs;
        }

        public static IList<BindObject> GetLayers()
        {
            IList<BindObject> codecs = new List<BindObject>();
            codecs.Add(new BindObject(0, "N/A"));
            codecs.Add(new BindObject(1, "Single Side, Single Layer"));
            codecs.Add(new BindObject(2, "Single Side, Dual Layer"));
            codecs.Add(new BindObject(3, "Dual Side, Single Layer"));
            codecs.Add(new BindObject(4, "Dual Side, Dual Layer"));
            return codecs;
        }

        public static IList<BindObject> GetColor()
        {
            IList<BindObject> codecs = new List<BindObject>();
            codecs.Add(new BindObject(0, "N/A"));
            codecs.Add(new BindObject(1, "Color"));
            codecs.Add(new BindObject(2, "Black and White"));
            codecs.Add(new BindObject(3, "Mixed"));
            return codecs;
        }
    }
}
